<template>
  <view class="toast">
    <nut-toast :msg="options.msg" v-model:visible="options.show" :type="options.type" :cover="options.cover"  />
  </view>
</template>

<script lang="ts" setup>
import { toastStore } from '@/stores'
import {computed} from "vue";
const toast = toastStore()
console.log(toast.options)
const options = computed(()=>toast.options)
</script>
